package com.scm.persist.mybatis;

import com.scm.persist.model.ScmLogistics;
import com.scm.persist.model.ScmLogisticsExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ScmLogisticsMapper {
    int countByExample(ScmLogisticsExample example);

    int deleteByExample(ScmLogisticsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ScmLogistics record);

    int insertSelective(ScmLogistics record);

    List<ScmLogistics> selectByExampleWithRowbounds(ScmLogisticsExample example, RowBounds rowBounds);

    List<ScmLogistics> selectByExample(ScmLogisticsExample example);

    ScmLogistics selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ScmLogistics record, @Param("example") ScmLogisticsExample example);

    int updateByExample(@Param("record") ScmLogistics record, @Param("example") ScmLogisticsExample example);

    int updateByPrimaryKeySelective(ScmLogistics record);

    int updateByPrimaryKey(ScmLogistics record);
}
